package com.mark.user.mapper;

import com.mark.basic.dto.LoginDto;
import com.mark.user.domain.Logininfo;
import com.mark.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mark
 * @since 2022-04-01
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {
    /**
     * 登录
     * @param loginDto
     * @return
     */
    Logininfo loginAccount(LoginDto loginDto);

    Logininfo loadByUserId(Long user_id);
}
